package com.riant.day04.deno3;

/**
 * @Classname TestDemo
 * @Description TODO
 * @Date 2021/3/12 0:32
 * @Created by 张斌
 */
public class TestDemo {
    public static void main(String[] args) {
        Test2 test2 = new Test2();
        test2.test();
        Test1 test1=test2;
        test1.test();
    }
}
